<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>清新时报</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">

    <!-- Le styles -->
    <link type="text/css" href="static/css/bootstrap.css" rel="stylesheet">
    <link type="text/css" href="static/css/bootstrap-responsive.css" rel="stylesheet">
    <link type="text/css" href="static/css/style.css" rel="stylesheet">
    <link type="text/css" href="static/css/jquery.ui.all.css" rel="stylesheet">
    <link rel="stylesheet" href="static/css/jquery.fileupload-ui.css">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="favicon.ico">
</head>

<body>
<div class="navbar navbar-fixed-top">
  <div class="navbar-inner">
	<div class="container">
	  <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
	  </a>
	  <a class="brand" href="http://twitter.github.com/bootstrap/examples/hero.html#">清新时报</a>
	<div class="nav-collapse">
		<ul class="nav pull-right">
			<li><a><i class="icon-inbox icon-white"></i> 收件夹</a></li>
			<li class="divider-vertical"></li>
			<li><a>登录</a></li>
		</ul>
	</div><!--/.nav-collapse -->
	</div>
  </div>
</div>

<!-- Body -->
<div class="container-fluid">
    <div class="row-fluid">
        <!-- Sidebar -->
        <div class="span2">
            <ul class="nav nav-list well">
                <li class="nav-header">新闻管理</li>
                <li class="active"><a href="#recent" data-toggle="tab" class = "showNews">近期概览</a></li>
                <li><a href="#news-create" class="newsCreate" data-toggle="tab">发布新闻</a></li>
                <li class="nav-header">相册管理</li>
                <li><a href="#albums" data-toggle="tab" class = "showAlbums">相册列表</a></li>
                <li><a href="#album-create" data-toggle="tab">添加相册</a></li>
                <li class="nav-header">用户管理</li>
                <li><a href="#journalists" data-toggle="tab" class = "showJournalists">记者概览</a></li>
                <li><a href="#jour-create" data-toggle="tab">新添记者</a></li>
                <li class="nav-header">资讯管理</li>
								<li><a href="#infos" data-toggle="tab" class = "showInfos">查看所有资讯/广告</a></li>
                <li><a href="#info-create" data-toggle="tab">发布资讯/广告</a></li>
                <li class="nav-header">反馈管理</li>
								<li><a href="#feedbacks" data-toggle="tab" class = "showFeedbacks">查看所有反馈</a></li>
								<li class="nav-header">评论管理</li>
								<li><a href="#comments" data-toggle="tab" class = "showComments">查看所有评论</a></li>
								<li class="nav-header">远程推送</li>
								<li><a href="#notification" data-toggle="tab">推送</a></li>
            </ul>
        </div>
        <!-- Main content -->
        <div class="span10">
            <div class="tab-content">
                <!-- 近期概览 -->
                <div class="tab-pane active" id="recent">
                    <div class="page-header">
                        <h1>近期概览 <small>呈现所有报纸内容</small></h1>
                    </div>
                    <div id="news-abstract"></div>
                    <p><button type="button" class="btn" id="testButton">测试数据获取</button></p>
                </div>
                
                <!-- 其他 -->
                <div class="tab-pane" id="other">...</div>

                <!-- 编辑新闻与查看详情 -->
                <div class="tab-pane" id="news-detail">
                    <div class="page-header">
                        <h1>新闻内容 <small>在这里编辑新闻的内容</small></h1>
                    </div>
                                      
                    <form class="form-horizontal" id="news-detail-edit">
                        <fieldset>
                        <legend>更改新闻相关信息</legend>
                        <div class="control-group">
                            <label class="control-label" for="title">新闻标题</label>
                            <div class="controls">
                                <input class="input-xlarge" name="title" type="text" placeholder="标题别太长噢">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="title">新闻正文</label>
                            <div class="controls">
                                <textarea class="input-xlarge" name="content" type="text" rows="10"></textarea>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">新闻日期</label>
                            <div class="controls">
                                <input class="input-xlarge" name="date" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">记者</label>
                            <div class="controls">
                                <input class="input-xlarge" name="journalists" type="text" placeholder="记者id用空格分隔">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">新闻类型</label>
                            <div class="controls">
                                <select name="type">
                                    <option value="0">硬新闻</option>
                                    <option value="1">深度报道</option>
                                    <option value="2">普通评论</option>
                                    <option value="3">社论</option>
                                    <option value="4">故事</option>                                   
                                </select>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">长微博图片id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="cwb" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">新闻博客地址</label>
                            <div class="controls">
                                <input class="input-xlarge" name="url" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">封面图片</label>
                            <div class="controls">
                               	<img src=""  name="cover_img" alt="some_text"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">封面图片 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="cover" type="text">
                            </div>
                        </div>              
                        <div class="control-group">
                            <label class="control-label">图片个数</label>
                            <div class="controls">
                                <input class="input-xlarge" name="picNum" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">图片一</label>
                            <div class="controls">
                               	<img src=""  name="pic0" alt="some_text"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片一 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic0id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片一 描述</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic0description" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">图片二</label>
                            <div class="controls">
                               	<img src=""  name="pic1" alt="some_text"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片二 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic1id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片二 描述</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic1description" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">图片三</label>
                            <div class="controls">
                               	<img src=""  name="pic2" alt="some_text"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片三 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic2id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片三 描述</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic2description" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">图片四</label>
                            <div class="controls">
                               	<img src=""  name="pic3" alt="some_text"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片四 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic3id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片四 描述</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic3description" type="text">
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <label class="control-label">额外选项</label>
                            <div class="controls vote">
                                <label class="checkbox">
                                    <input type="checkbox" name="hasVote" value="true" class='vote-checkbox'>是否有投票
                                </label>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">是否修改投票</label>
                            <div class="controls">
                                <label class="checkbox">
                                    <input type="checkbox" name="modifyVote" value="false" class='vote-checkbox'>
                                </label>
                            </div>
                        </div>
                        <div class="form-actions">
                        <button type="submit" class="btn btn-primary">保存更改</button>
                        <button class="btn">取消</button>
                        </div>
                        </fieldset>
                    </form>   
                    
                    <!-- 上传图片 -->
                    <legend>上传新闻相关图片</legend>
                    <br>
										
                    <form id="fileupload" class="fileupload qingxin" action="http://166.111.112.88:8080/qingxinchuanmei/admin/photo/newsPhotoUploader" method="POST" enctype="multipart/form-data">
                        <div class="row fileupload-buttonbar">
                            <div class="span7">
                               
                                <span class="btn btn-success fileinput-button">
                                    <i class="icon-plus icon-white"></i>
                                    <span>添加图片...</span>
                                    <input type="file" name="files[]" multiple>
                                </span>
                                <button type="submit" class="btn btn-primary start">
                                    <i class="icon-upload icon-white"></i>
                                    <span>开始上传</span>
                                </button>
                                <button type="reset" class="btn btn-warning cancel">
                                    <i class="icon-ban-circle icon-white"></i>
                                    <span>取消上传</span>
                                </button>
                                <button type="button" class="btn btn-danger delete">
                                    <i class="icon-trash icon-white"></i>
                                    <span>删除</span>
                                </button>
                                <input type="checkbox" class="toggle">
                            </div>
                            <div class="span5 fileupload-progress fade">
                                <div class="progress progress-success progress-striped active">
                                    <div class="bar" style="width:0%;"></div>
                                </div>
                                <div class="progress-extended">&nbsp;</div>
                            </div>
                        </div>
                        <div class="fileupload-loading"></div>
                        <table class="table table-striped"><tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody></table>
                    </form>                 
                </div>

                <!-- 发布新闻 -->
                <div class="tab-pane" id="news-create">
                    <div class="page-header">
                        <h1>新闻内容 <small>在这里编辑新闻的内容</small></h1>
                    </div>
                    <div id="news-detail-edit">                    
                    <form class="form-horizontal">
                        <fieldset>
                        <legend>新建新闻相关信息</legend>
                        <div class="control-group">
                            <label class="control-label" for="title">新闻标题</label>
                            <div class="controls">
                                <input class="input-xlarge" name="title" type="text" placeholder="标题别太长噢">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="title">新闻正文</label>
                            <div class="controls">
                                <textarea class="input-xlarge" name="content" type="text" rows="10"></textarea>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">新闻日期</label>
                            <div class="controls">
                                <input class="input-xlarge" name="date" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">记者</label>
                            <div class="controls">
                                <input class="input-xlarge" name="journalists" type="text" placeholder="记者id用空格分隔">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">新闻类型</label>
                            <div class="controls">
                                <select name="type">
                                    <option value="0">硬新闻</option>
                                    <option value="1">深度报道</option>
                                    <option value="2">普通评论</option>
                                    <option value="3">社论</option>
                                    <option value="4">故事</option>                                   
                                </select>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">长微博图片id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="cwb" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">新闻博客地址</label>
                            <div class="controls">
                                <input class="input-xlarge" name="url" type="text">
                            </div>
                        </div>                        
                        <div class="control-group">
                            <label class="control-label">封面图片 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="cover" type="text">
                            </div>
                        </div>              
                        <div class="control-group">
                            <label class="control-label">图片个数</label>
                            <div class="controls">
                                <input class="input-xlarge" name="picNum" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片一 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic0id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片一 描述</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic0description" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片二 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic1id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片二 描述</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic1description" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片三 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic2id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片三 描述</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic2description" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片四 id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic3id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片三 描述</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pic3description" type="text">
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <label class="control-label">额外选项</label>
                            <div class="controls vote">
                                <label class="checkbox">
                                    <input type="checkbox" name="hasVote" value="true" class='vote-checkbox'>是否有投票
                                </label>
                            </div>
                        </div>

                        <!-- modal-gallery is the modal dialog used for the image gallery -->
                        <div id="modal-gallery" class="modal modal-gallery hide fade" data-filter=":odd">
                            <div class="modal-header">
                                <a class="close" data-dismiss="modal">&times;</a>
                                <h3 class="modal-title"></h3>
                            </div>
                            <div class="modal-body"><div class="modal-image"></div></div>
                            <div class="modal-footer">
                                <a class="btn modal-download" target="_blank">
                                    <i class="icon-download"></i>
                                    <span>Download</span>
                                </a>
                                <a class="btn btn-success modal-play modal-slideshow" data-slideshow="5000">
                                    <i class="icon-play icon-white"></i>
                                    <span>Slideshow</span>
                                </a>
                                <a class="btn btn-info modal-prev">
                                    <i class="icon-arrow-left icon-white"></i>
                                    <span>Previous</span>
                                </a>
                                <a class="btn btn-primary modal-next">
                                    <span>Next</span>
                                    <i class="icon-arrow-right icon-white"></i>
                                </a>
                            </div>
                        </div>
                        <div class="form-actions">
                        <button type="submit" class="btn btn-primary" id="newsPublicateButton">保存更改</button>
                        <button class="btn" id="newsCancelPublicateButton">取消</button>
                        </div>
                        </fieldset>
                    </form>
                        
                   
					<!-- 上传图片 -->
                    <legend>上传新闻相关图片</legend>
                    <br>
										
                    <form id="fileupload" class="fileupload qingxin" action="http://166.111.112.88:8080/qingxinchuanmei/admin/photo/newsPhotoUploader" method="POST" enctype="multipart/form-data">
                        <div class="row fileupload-buttonbar">
                            <div class="span7">
                               
                                <span class="btn btn-success fileinput-button">
                                    <i class="icon-plus icon-white"></i>
                                    <span>添加图片...</span>
                                    <input type="file" name="files[]" multiple>
                                </span>
                                <button type="submit" class="btn btn-primary start">
                                    <i class="icon-upload icon-white"></i>
                                    <span>开始上传</span>
                                </button>
                                <button type="reset" class="btn btn-warning cancel">
                                    <i class="icon-ban-circle icon-white"></i>
                                    <span>取消上传</span>
                                </button>
                                <button type="button" class="btn btn-danger delete">
                                    <i class="icon-trash icon-white"></i>
                                    <span>删除</span>
                                </button>
                                <input type="checkbox" class="toggle">
                            </div>
                            <div class="span5 fileupload-progress fade">
                                <div class="progress progress-success progress-striped active">
                                    <div class="bar" style="width:0%;"></div>
                                </div>
                                <div class="progress-extended">&nbsp;</div>
                            </div>
                        </div>
                        <div class="fileupload-loading"></div>
                        <table class="table table-striped"><tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody></table>
                    </form>
                 
                    </div>
                </div>
                <!-- end of 发布新闻 -->
                
                <!-- 编辑相册，显示相册详情 -->
                <div class="tab-pane" id="album-detail">
                    <div class="page-header">
                        <h1>相册信息 <small>在这里编辑相册的信息</small></h1>
                    </div>
                    <div id="album-detail-edit">            
                    <form class="form-horizontal">
                        <fieldset>
                        <legend>编辑相册信息</legend>
                        <div class="control-group">
                            <label class="control-label" for="name">相册名</label>
                            <div class="controls">
                                <input class="input-xlarge" name="name" type="text" placeholder="别输入空格噢">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="class">相册介绍</label>
                            <div class="controls">
                                <input class="input-xlarge" name="introduction" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">相册封面</label>
                            <div class="controls">
                               	<img src=""  name="cover" alt="some_text"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="class">封面id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="cover_id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片个数</label>
                            <div class="controls">
                                <input class="input-xlarge" name="picNum" type="text">
                            </div>
                        </div>
                        <div class="photosMore">
                      	</div>

                        
                        <div class="form-actions">
                        <button type="submit" class="btn btn-primary">保存更改</button>
                        <button class="btn">取消</button>
                        </div>
                        </fieldset>
                    </form>
                    
<!-- 上传图片 -->
                    <legend>上传新闻相关图片</legend>
                    <br>
                    <!-- The file upload form used as target for the file upload widget -->
                    <form id="fileupload" class="fileupload qingxin" action="http://166.111.112.88:8080/qingxinchuanmei/admin/photo/albumPhotoUploader" method="POST" enctype="multipart/form-data">
                        <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
                        <div class="row fileupload-buttonbar">
                            <div class="span7">
                                <!-- The fileinput-button span is used to style the file input field as button -->
                                <span class="btn btn-success fileinput-button">
                                    <i class="icon-plus icon-white"></i>
                                    <span>添加图片...</span>
                                    <input type="file" name="files[]" multiple>
                                </span>
                                <button type="submit" class="btn btn-primary start">
                                    <i class="icon-upload icon-white"></i>
                                    <span>开始上传</span>
                                </button>
                                <button type="reset" class="btn btn-warning cancel">
                                    <i class="icon-ban-circle icon-white"></i>
                                    <span>取消上传</span>
                                </button>
                                <button type="button" class="btn btn-danger delete">
                                    <i class="icon-trash icon-white"></i>
                                    <span>删除</span>
                                </button>
                                <input type="checkbox" class="toggle">
                            </div>
                            <!-- The global progress information -->
                            <div class="span5 fileupload-progress fade">
                                <!-- The global progress bar -->
                                <div class="progress progress-success progress-striped active">
                                    <div class="bar" style="width:0%;"></div>
                                </div>
                                <!-- The extended global progress information -->
                                <div class="progress-extended">&nbsp;</div>
                            </div>
                        </div>
                        <!-- The loading indicator is shown during file processing -->
                        <div class="fileupload-loading"></div>
                        <!-- The table listing the files available for upload/download -->
                        <table class="table table-striped"><tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody></table>
                    </form>

                    </div>
                </div>
                <!-- end of 编辑相册 -->
                
                <!-- 添加相册 -->
                <div class="tab-pane" id="album-create">
                    <div class="page-header">
                        <h1>添加相册 <small>在这里编辑相册的信息</small></h1>
                    </div>
                    <div id="album-detail-edit">            
                    <form class="form-horizontal">
                        <fieldset>
                        <legend>编辑相册信息</legend>
                        <div class="control-group">
                            <label class="control-label" for="name">相册名</label>
                            <div class="controls">
                                <input class="input-xlarge" name="name" type="text" placeholder="别输入空格噢">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="class">相册介绍</label>
                            <div class="controls">
                                <input class="input-xlarge" name="introduction" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">相册封面</label>
                            <div class="controls">
                               	<img src=""  name="cover" alt="some_text"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="class">封面id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="cover_id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片个数</label>
                            <div class="controls">
                                <input class="input-xlarge" name="picNum" type="text">
                            </div>
                        </div>
                     
                        <div class="photosMore">
                      	</div>

                        
                        <div class="form-actions">
                        <button type="submit" class="btn btn-primary">保存更改</button>
                        <button class="btn">取消</button>
                        </div>
                        </fieldset>
                    </form>
                    
<!-- 上传图片 -->
                    <legend>上传新闻相关图片</legend>
                    <br>
                    <!-- The file upload form used as target for the file upload widget -->
                    <form id="fileupload" class="fileupload qingxin" action="http://166.111.112.88:8080/qingxinchuanmei/admin/photo/albumPhotoUploader" method="POST" enctype="multipart/form-data">
                        <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
                        <div class="row fileupload-buttonbar">
                            <div class="span7">
                                <!-- The fileinput-button span is used to style the file input field as button -->
                                <span class="btn btn-success fileinput-button">
                                    <i class="icon-plus icon-white"></i>
                                    <span>添加图片...</span>
                                    <input type="file" name="files[]" multiple>
                                </span>
                                <button type="submit" class="btn btn-primary start">
                                    <i class="icon-upload icon-white"></i>
                                    <span>开始上传</span>
                                </button>
                                <button type="reset" class="btn btn-warning cancel">
                                    <i class="icon-ban-circle icon-white"></i>
                                    <span>取消上传</span>
                                </button>
                                <button type="button" class="btn btn-danger delete">
                                    <i class="icon-trash icon-white"></i>
                                    <span>删除</span>
                                </button>
                                <input type="checkbox" class="toggle">
                            </div>
                            <!-- The global progress information -->
                            <div class="span5 fileupload-progress fade">
                                <!-- The global progress bar -->
                                <div class="progress progress-success progress-striped active">
                                    <div class="bar" style="width:0%;"></div>
                                </div>
                                <!-- The extended global progress information -->
                                <div class="progress-extended">&nbsp;</div>
                            </div>
                        </div>
                        <!-- The loading indicator is shown during file processing -->
                        <div class="fileupload-loading"></div>
                        <!-- The table listing the files available for upload/download -->
                        <table class="table table-striped"><tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody></table>
                    </form>

                    </div>
                </div>
                <!-- end of 新增相册 -->

                <!-- 新添记者 -->
                <div class="tab-pane" id="jour-create">
                    <div class="page-header">
                        <h1>记者信息 <small>在这里编辑记者的信息</small></h1>
                    </div>
                    <div id="news-detail-edit">                    
                    <form class="form-horizontal">
                        <fieldset>
                        <legend>新建记者个人信息</legend>
                        <div class="control-group">
                            <label class="control-label" for="name">姓名</label>
                            <div class="controls">
                                <input class="input-xlarge" name="name" type="text" placeholder="别输入空格噢">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">头像</label>
                            <div class="controls">
                               	<img src=""  name="avatar" alt="some_text"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="class">头像图片id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="avatar_id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">是否退休</label>
                            <div class="controls">
                                <input type="checkbox" name="isRetired" class='retired-checkbox'>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="class">班级</label>
                            <div class="controls">
                                <input class="input-xlarge" name="class" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">生日</label>
                            <div class="controls">
                                <input class="input-xlarge" name="birthday" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">星座</label>
                            <div class="controls">
                                <input class="input-xlarge" name="constellation" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">性别</label>
                            <div class="controls">
                                <input class="input-xlarge" name="sex" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">座右铭</label>
                            <div class="controls">
                                <input class="input-xlarge" name="motto" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">个人介绍</label>
                            <div class="controls">
                                <textarea class="input-xlarge" name="introduction" rols="10"></textarea>
                            </div>
                        </div>
                        <div class="form-actions">
                        <button type="submit" class="btn btn-primary">保存更改</button>
                        <button class="btn">取消</button>
                        </div>
                        </fieldset>
                    </form>
                    
                    <!-- 上传图片 -->
                    <legend>上传新闻相关图片</legend>
                    <br>
                    <!-- The file upload form used as target for the file upload widget -->
                    <form id="fileupload" class="fileupload qingxin" action="http://166.111.112.88:8080/qingxinchuanmei/admin/photo/avatarPhotoUploader" method="POST" enctype="multipart/form-data">
                        <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
                        <div class="row fileupload-buttonbar">
                            <div class="span7">
                                <!-- The fileinput-button span is used to style the file input field as button -->
                                <span class="btn btn-success fileinput-button">
                                    <i class="icon-plus icon-white"></i>
                                    <span>添加图片...</span>
                                    <input type="file" name="files[]" multiple>
                                </span>
                                <button type="submit" class="btn btn-primary start">
                                    <i class="icon-upload icon-white"></i>
                                    <span>开始上传</span>
                                </button>
                                <button type="reset" class="btn btn-warning cancel">
                                    <i class="icon-ban-circle icon-white"></i>
                                    <span>取消上传</span>
                                </button>
                                <button type="button" class="btn btn-danger delete">
                                    <i class="icon-trash icon-white"></i>
                                    <span>删除</span>
                                </button>
                                <input type="checkbox" class="toggle">
                            </div>
                            <!-- The global progress information -->
                            <div class="span5 fileupload-progress fade">
                                <!-- The global progress bar -->
                                <div class="progress progress-success progress-striped active">
                                    <div class="bar" style="width:0%;"></div>
                                </div>
                                <!-- The extended global progress information -->
                                <div class="progress-extended">&nbsp;</div>
                            </div>
                        </div>
                        <!-- The loading indicator is shown during file processing -->
                        <div class="fileupload-loading"></div>
                        <!-- The table listing the files available for upload/download -->
                        <table class="table table-striped"><tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody></table>
                    </form>
                    
                    </div>
                </div>
                <!-- end of 新添记者 -->
                
                <!-- 编辑记者，显示记者详情 -->
                <div class="tab-pane" id="journalist-detail">
                    <div class="page-header">
                        <h1>记者信息 <small>在这里编辑记者的信息</small></h1>
                    </div>
                    <div id="journalist-detail-edit">            
                    <form class="form-horizontal">
                        <fieldset>
                        <legend>编辑记者个人信息</legend>
                        <div class="control-group">
                            <label class="control-label" for="name">姓名</label>
                            <div class="controls">
                                <input class="input-xlarge" name="name" type="text" placeholder="别输入空格噢">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">头像</label>
                            <div class="controls">
                               	<img src=""  name="avatar" alt="some_text"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="class">头像图片id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="avatar_id" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="name">是否退休</label>
                            <div class="controls">
                                <input type="checkbox" name="isRetired" class='retired-checkbox'>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="class">班级</label>
                            <div class="controls">
                                <input class="input-xlarge" name="class" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">生日</label>
                            <div class="controls">
                                <input class="input-xlarge" name="birthday" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">星座</label>
                            <div class="controls">
                                <input class="input-xlarge" name="constellation" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">性别</label>
                            <div class="controls">
                                <input class="input-xlarge" name="sex" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">座右铭</label>
                            <div class="controls">
                                <input class="input-xlarge" name="motto" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">个人介绍</label>
                            <div class="controls">
                                <textarea class="input-xlarge" name="introduction" rols="10"></textarea>
                            </div>
                        </div>
                        <div class="form-actions">
                        <button type="submit" class="btn btn-primary">保存更改</button>
                        <button class="btn">取消</button>
                        </div>
                        </fieldset>
                    </form>
                    
<!-- 上传图片 -->
                    <legend>上传新闻相关图片</legend>
                    <br>
                    <!-- The file upload form used as target for the file upload widget -->
                    <form id="fileupload" class="fileupload qingxin" action="http://166.111.112.88:8080/qingxinchuanmei/admin/photo/avatarPhotoUploader" method="POST" enctype="multipart/form-data">
                        <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
                        <div class="row fileupload-buttonbar">
                            <div class="span7">
                                <!-- The fileinput-button span is used to style the file input field as button -->
                                <span class="btn btn-success fileinput-button">
                                    <i class="icon-plus icon-white"></i>
                                    <span>添加图片...</span>
                                    <input type="file" name="files[]" multiple>
                                </span>
                                <button type="submit" class="btn btn-primary start">
                                    <i class="icon-upload icon-white"></i>
                                    <span>开始上传</span>
                                </button>
                                <button type="reset" class="btn btn-warning cancel">
                                    <i class="icon-ban-circle icon-white"></i>
                                    <span>取消上传</span>
                                </button>
                                <button type="button" class="btn btn-danger delete">
                                    <i class="icon-trash icon-white"></i>
                                    <span>删除</span>
                                </button>
                                <input type="checkbox" class="toggle">
                            </div>
                            <!-- The global progress information -->
                            <div class="span5 fileupload-progress fade">
                                <!-- The global progress bar -->
                                <div class="progress progress-success progress-striped active">
                                    <div class="bar" style="width:0%;"></div>
                                </div>
                                <!-- The extended global progress information -->
                                <div class="progress-extended">&nbsp;</div>
                            </div>
                        </div>
                        <!-- The loading indicator is shown during file processing -->
                        <div class="fileupload-loading"></div>
                        <!-- The table listing the files available for upload/download -->
                        <table class="table table-striped"><tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody></table>
                    </form>

                    </div>
                </div>
                <!-- end of 编辑记者，显示记者详情 -->
                
                
                <!-- 记者列表 -->
                <div class="tab-pane" id="journalists">
                    <div class="page-header">
                        <h1>记者列表 <small>显示系统中 所有记者，注意：必须在系统中的记者才能成为新闻的作者. 红色代表该记者目前不属于清新时报。</small></h1>
                    </div>
                    <div id="journalist-list"></div>
                </div>
                
                <!-- 相册列表 -->
                <div class="tab-pane" id="albums">
                    <div class="page-header">
                        <h1>相册列表<small>此处显示了系统中所有的相册，按照时间顺序排序。</small></h1>
                    </div>
                    <div id="albums-list"></div>
                </div>
                
                <!-- 反馈列表 -->
                <div class="tab-pane" id="feedbacks">
                    <div class="page-header">
                        <h1>反馈列表<small>所有反馈</small></h1>
                    </div>
                    <div id="feedbacks-list"></div>
                </div>

                <!-- 显示所有资讯 -->
                <div class="tab-pane" id="infos">
                    <div class="page-header">
                        <h1>资讯 <small>呈现所有资讯</small></h1>
                    </div>
                    <div id="infos-list"></div>
                </div>
                
                <!-- 显示所有评论 -->
                <div class="tab-pane" id="comments">
                    <div class="page-header">
                        <h1>评论 <small>呈现所有评论</small></h1>
                    </div>
                    <div id="comments-list"></div>
                </div>

                <!-- 发布资讯 -->
                <div class="tab-pane" id="info-create">
                    <div class="page-header">
                        <h1>资讯内容 <small>在这里编辑资讯的内容</small></h1>
                    </div>
                    <div id="info-detail-edit">
	
                    <form class="form-horizontal" id="info-create-form">
                        <fieldset>
                        <legend>新建资讯相关信息</legend>
                        <div class="control-group">
                            <label class="control-label" for="title">资讯/广告标题
                            </label>
                            <div class="controls">
                                <input class="input-xlarge" name="title" type="text" placeholder="字数在3-20字以内">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="title">资讯/广告内容</label>
                            <div class="controls">
                                <textarea class="input-xlarge" name="content" type="text" rows="5" placeholder="字数在80字以内，最好没有换行(回车)"></textarea>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">图片id</label>
                            <div class="controls">
                                <input class="input-xlarge" name="pid" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">资讯/广告开始时间</label>
                            <div class="controls">
                                <input class="input-xlarge" name="start" type="text">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">资讯/广告结束时间</label>
                            <div class="controls">
                                <input class="input-xlarge" name="end" type="text">
                            </div>
                        </div>
                        
                        <div class="form-actions">
                        <button type="submit" class="btn btn-primary" id="infoPublicateButton">发布资讯
                        </button>
                        <button type="cancel" class="btn" id="infoCancelPublicateButton">取消</button>
                        </div>
                        </fieldset>
                    </form>
                    
                <!-- end of 发布资讯 -->
                
                <legend>上传新闻相关图片</legend>
                    <br>
                    <!-- The file upload form used as target for the file upload widget -->
                    <form id="fileupload" class="fileupload qingxin" action="http://166.111.112.88:8080/qingxinchuanmei/admin/photo/informationPhotoUploader" method="POST" enctype="multipart/form-data">
                        <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
                        <div class="row fileupload-buttonbar">
                            <div class="span7">
                                <!-- The fileinput-button span is used to style the file input field as button -->
                                <span class="btn btn-success fileinput-button">
                                    <i class="icon-plus icon-white"></i>
                                    <span>添加图片...</span>
                                    <input type="file" name="files[]" multiple>
                                </span>
                                <button type="submit" class="btn btn-primary start">
                                    <i class="icon-upload icon-white"></i>
                                    <span>开始上传</span>
                                </button>
                                <button type="reset" class="btn btn-warning cancel">
                                    <i class="icon-ban-circle icon-white"></i>
                                    <span>取消上传</span>
                                </button>
                                <button type="button" class="btn btn-danger delete">
                                    <i class="icon-trash icon-white"></i>
                                    <span>删除</span>
                                </button>
                                <input type="checkbox" class="toggle">
                            </div>
                            <!-- The global progress information -->
                            <div class="span5 fileupload-progress fade">
                                <!-- The global progress bar -->
                                <div class="progress progress-success progress-striped active">
                                    <div class="bar" style="width:0%;"></div>
                                </div>
                                <!-- The extended global progress information -->
                                <div class="progress-extended">&nbsp;</div>
                            </div>
                        </div>
                        <!-- The loading indicator is shown during file processing -->
                        <div class="fileupload-loading"></div>
                        <!-- The table listing the files available for upload/download -->
                        <table class="table table-striped"><tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody></table>
                    </form>
                    </div>
                </div>
                
                <!-- 远程推送 -->
                <div class="tab-pane" id="notification">
                    <div class="page-header">
                        <h1>推送 <small>在这里编辑推送的内容</small></h1>
                    </div>
                    <div id="notification-edit">
	
                    <form class="form-horizontal" id="notification-create-form">
                        <fieldset>
                        <legend>新建推送</legend>
                        <div class="control-group">
                            <label class="control-label" for="title">内容
                            </label>
                            <div class="controls">
                                <input class="input-xlarge" name="notification" type="text" placeholder="字数在50字以内">
                            </div>
                        </div>
                        
                        <div class="form-actions">
                        <button type="submit" class="btn btn-primary" id="infoPublicateButton">发布推送
                        </button>
                        <button type="cancel" class="btn" id="infoCancelPublicateButton">取消</button>
                        </div>
                        </fieldset>
                    </form>
           
                    </div>
                </div>
								<!-- 结束远程推送 -->
        </div>
    </div>
</div>
<!-- 近期概览 -->
<div class="modal hide" id="newPublication">
    <div class="modal-header">
    <a class="close" data-dismiss="modal">×</a>
        <h3>增加一个新的刊号</h3>
    </div>
    <div class="modal-body">
        <p>您是否确认要新增加一个刊号呢？</p>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn" data-dismiss="modal">取消</a>
        <a href="#" class="btn btn-primary">确认增加</a>
    </div>
</div>

<div class="modal hide" id="deleteNews">
    <div class="modal-header">
    <a class="close" data-dismiss="modal">×</a>
        <h3>是否确认删除该篇新闻？</h3>
    </div>
    <div class="modal-body">
        <p>您是否确认要删除该篇新闻？</p>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn" data-dismiss="modal">取消</a>
        <a href="#recent" data-toggle="tab" class="btn btn-primary">确认删除</a>
    </div>
</div>

<div class="container footer">
	<hr>
	<p>© 2012 <a href="#">清新媒体</a></p>
</div>

<!-- The template to display files available for upload -->
<script id="template-upload" type="text/x-tmpl">
{% for (var i=0, file; file=o.files[i]; i++) { %}
    <tr class="template-upload fade">
        <td class="preview"><span class="fade"></span></td>
        <td class="name"><span>{%=file.name%}</span></td>
        <td class="size"><span>{%=o.formatFileSize(file.size)%}</span></td>
        {% if (file.error) { %}
            <td class="error" colspan="2"><span class="label label-important">{%=locale.fileupload.error%}</span> {%=locale.fileupload.errors[file.error] || file.error%}</td>
        {% } else if (o.files.valid && !i) { %}
            <td>
                <div class="progress progress-success progress-striped active"><div class="bar" style="width:0%;"></div></div>
            </td>
            <td class="start">{% if (!o.options.autoUpload) { %}
                <button class="btn btn-primary">
                    <i class="icon-upload icon-white"></i>
                    <span>{%=locale.fileupload.start%}</span>
                </button>
            {% } %}</td>
        {% } else { %}
            <td colspan="2"></td>
        {% } %}
        <td class="cancel">{% if (!i) { %}
            <button class="btn btn-warning">
                <i class="icon-ban-circle icon-white"></i>
                <span>{%=locale.fileupload.cancel%}</span>
            </button>
        {% } %}</td>
    </tr>
{% } %}
</script>
<!-- The template to display files available for download -->
<script id="template-download" type="text/x-tmpl">
{% for (var i=0, file; file=o.files[i]; i++) { %}
    <tr class="template-download fade">
        {% if (file.error) { %}
            <td></td>
            <td class="name"><span>{%=file.name%}</span></td>
            <td class="size"><span>{%=o.formatFileSize(file.size)%}</span></td>
            <td class="error" colspan="2"><span class="label label-important">{%=locale.fileupload.error%}</span> {%=locale.fileupload.errors[file.error] || file.error%}</td>
        {% } else { %}
            <td class="preview">{% if (file.thumbnail_url) { %}
                <a href="{%=file.url%}" title="{%=file.name%}" rel="gallery" download="{%=file.name%}"><img src="{%=file.thumbnail_url%}"></a>
            {% } %}</td>
            <td class="name">
                <a href="{%=file.url%}" title="{%=file.name%}" rel="{%=file.thumbnail_url&&'gallery'%}" download="{%=file.name%}">{%=file.name%}</a>
            </td>
            <td class="size"><span>{%=o.formatFileSize(file.size)%}</span></td>
            <td colspan="2"></td>
        {% } %}
        <td class="delete">
            <button class="btn btn-danger" data-type="{%=file.delete_type%}" data-url="{%=file.delete_url%}">
                <i class="icon-trash icon-white"></i>
                <span>{%=locale.fileupload.destroy%}</span>
            </button>
            <input type="checkbox" name="delete" value="1">
        </td>
    </tr>
{% } %}
</script>

<script type="text/javascript" src="static/js/jquery.min.js"></script>
<script type="text/javascript" src="static/js/bootstrap.js"></script>
<script charset="UTF-8" type="text/javascript" src="static/js/base.js"></script>
<script charset="UTF-8" type="text/javascript" src="static/js/ajaxsender.js"></script>
<script charset="gb2312" type="text/javascript" src="static/js/ajaxreceiver.js"></script>
<script charset="gb2312" type="text/javascript" src="static/js/showOthers.js"></script>
<script type="text/javascript" src="static/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="static/js/jquery.ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="static/js/datetimepicker.js"></script>

<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
<script src="static/js/vendor/jquery.ui.widget.js"></script>
<!-- The Templates plugin is included to render the upload/download listings -->
<script src="http://blueimp.github.com/JavaScript-Templates/tmpl.min.js"></script>
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
<script src="http://blueimp.github.com/JavaScript-Load-Image/load-image.min.js"></script>
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
<script src="http://blueimp.github.com/JavaScript-Canvas-to-Blob/canvas-to-blob.min.js"></script>
<script src="http://blueimp.github.com/Bootstrap-Image-Gallery/js/bootstrap-image-gallery.min.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="static/js/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="static/js/jquery.fileupload.js"></script>
<!-- The File Upload file processing plugin -->
<script src="static/js/jquery.fileupload-fp.js"></script>
<!-- The File Upload user interface plugin -->
<script src="static/js/jquery.fileupload-ui.js"></script>
<!-- The localization script -->
<script src="static/js/locale.js"></script>
<!-- The main application script -->
<script src="static/js/main.js"></script>
<!-- The XDomainRequest Transport is included for cross-domain file deletion for IE8+ -->
<!--[if gte IE 8]><script src="js/cors/jquery.xdr-transport.js"></script><![endif]-->
</body>
</html>